package com.oracle.sbdb.model;

import java.sql.Date;

public class Updates {
	private Integer update_id;
	private Integer bug_id;
	private Integer update_engineer_id;
	private Date update_time;
	private Boolean update_hiden;
	private String update_content;

	public Updates(){};
	
	public Updates(int bugID, String content, int engineerID, boolean hidden,
			Date date) {
		setBug_id(bugID);
		setUpdate_content(content);
		setUpdate_engineer_id(engineerID);
		setUpdate_hiden(hidden);
		setUpdate_time(date);
	}

	public Integer getUpdate_id() {
		return update_id;
	}

	public void setUpdate_id(Integer update_id) {
		this.update_id = update_id;
	}

	public Integer getBug_id() {
		return bug_id;
	}

	public void setBug_id(Integer bug_id) {
		this.bug_id = bug_id;
	}

	public Integer getUpdate_engineer_id() {
		return update_engineer_id;
	}

	public void setUpdate_engineer_id(Integer update_engineer_id) {
		this.update_engineer_id = update_engineer_id;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public Boolean getUpdate_hiden() {
		return update_hiden;
	}

	public void setUpdate_hiden(Boolean update_hiden) {
		this.update_hiden = update_hiden;
	}

	public String getUpdate_content() {
		return update_content;
	}

	public void setUpdate_content(String update_content) {
		this.update_content = update_content;
	}
}
